// 以下文件格式为描述路由的协议格式
// 你可以调整 routerConfig 里的内容
// 变量名 routerConfig 为 iceworks 检测关键字，请不要修改名称

import Home from './pages/Home';
import Works from './pages/Works';
import Partner from './pages/Partner';
import Login from './pages/Login';
import Register from './pages/Register';
import Center from './pages/center/Center';
import Bought from './pages/center/Bought';
import Published from './pages/center/Published';
import Star from './pages/center/Star';
import NewPost from './pages/center/NewPost';
import Settings from './pages/center/Settings';
import Verified from './pages/center/Verified';
import Wallet from './pages/center/CreateWallet';
// import Test from './pages/Test';

const routerConfig = [
  {
    path: '/center/account/wallet',
    component: Wallet,
  },
  {
    path: '/center/account/verified',
    component: Verified,
  },
  {
    path: '/center/post/bought',
    component: Bought,
  },
  {
    path: '/center/post/published',
    component: Published,
  },
  {
    path: '/center/post/star',
    component: Star,
  },
  {
    path: '/center/post/new',
    component: NewPost,
  },
  {
    path: '/center/account/settings',
    component: Settings,
  },
  {
    path: '/center',
    component: Center,
  },
  {
    path: '/register',
    component: Register,
  },
  {
    path: '/login',
    component: Login,
  },
  {
    path: '/works',
    component: Works,
  },
  {
    path: '/partner/:workId',
    component: Partner,
  },
  {
    path: '/',
    component: Home,
  },
];

export default routerConfig;
